package com.newtouch.xcd.config.entity;

import cn.hutool.core.clone.CloneRuntimeException;
import cn.hutool.core.clone.Cloneable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductMark implements Serializable, Cloneable<ProductMark> {

    public static final long serialVersionUID = 1L;

    /**
     * 产品id
     */
    private String productId;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 图片地址
     */
    private String url;

    /**
     * 标志
     */
    private String mark;

    @Override
    public ProductMark clone() {
        try {
            return (ProductMark) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new CloneRuntimeException(e);
        }
    }
}